//
//  PictureViewController.h
//  Estate
//
//  Created by heyong on 16/5/30.
//  Copyright © 2016年 ttsx. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "OrientationViewController.h"
#import "FDAlertView.h"

@interface PictureViewController : UIViewController<UICollectionViewDelegate,UICollectionViewDataSource>
@property (strong, nonatomic) UICollectionView *collectionView;
/**沙盒中的图片*/
@property (strong ,nonatomic)NSMutableArray *imageArray;

/**排序后的图片*/
@property (strong ,nonatomic)NSMutableArray *sortImageArray;

/**选择的图片*/
@property (strong ,nonatomic)NSMutableArray *selectedImages;

/*
 *判断是直接点击的相册，还是添加附件
 */
@property (copy, nonatomic) NSString *flag;

/*
 *传递选中image
 */
@property (copy, nonatomic) void(^selectedImageBlock)(NSMutableArray *);

/*
 * 是否隐藏右上角按钮
 */
@property (assign, nonatomic)BOOL isHidden;

//弹出视图
@property (strong, nonatomic)UIView *alertView;

@end
